﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Web;

namespace DataProj.Areas.BackSys.ServiceTools
{
    public class MyRequest
    {
        public static string GetQueryString()
        {
            using (Stream postData = HttpContext.Current.Request.InputStream)
            {
                using (StreamReader sRead = new StreamReader(postData, Encoding.UTF8))
                {
                    return sRead.ReadToEnd();
                }
            }
        }
    }
}